package ie.dkit.semanticPhotoWeb.client.panels;

import com.google.gwt.user.client.ui.HTML;
import com.gwtext.client.widgets.Panel;

public class WelcomePage extends Panel {
	public WelcomePage() {
		setTitle("Welcome");
		add(new HTML(
				"<div align=\"center\"><h1>Welcome to semantic Photo Web</h1></div>"));
		add(new HTML(
				"<div align=\"center\">Please use the Drop down menue from above to select a Action</div>"));
		// The Welcome Image is a random Picture from welcome_1.jpg to
		// welcome_8.jpg
		add(new HTML("<div class=\"welcomeImage\">" + "<img "
				+ "src=\"images/welcome_" + (((int) (Math.random() * 7)) + 1)
				+ ".jpg\" "
				+ "alt=\"The Welcome Image showing a amazing Picture\" "
				+ "width=\"640\" " + "height=\"480\" " + ">" + "</div>"));
	}
}
